package com.hsjk.szwj.module.train.dal.dataobject.knowledge;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hsjk.szwj.framework.tenant.core.db.TenantBaseDO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author chenjiawei
 * @desc
 * @Date 2023/09/26 00:18
 **/
@TableName("train_knowledge")
@Data
@EqualsAndHashCode(callSuper = true)
public class KnowledgeDO extends TenantBaseDO {
    /**
     * 编号
     */
    private Long id;
    /**
     * 知识点集编号
     */
    private Long knowledgeSetId;
    /**
     * 知识点类型;1.单选题 2.多选题 3.填空题
     */
    private Integer knowledgeType;
    /**
     * 题目标题
     */
    private String questionTitle;
    /**
     * 题目图片
     */
    private String questionPic;
    /**
     * 选项：填空=null 选择={"A": xxx, "B": xxx}
     */
    private String options;
    /**
     * 答案：填空=["xxxx","xxxx"] 选择=["A","B"]
     */
    private String answer;
    /**
     * 官方解释
     */
    private String officialGuide;
    /**
     * 车型;1.小车C1/C2/C3 2.摩托车D/E/F 3.货车/A2/B2 4.客车A1/A3/B1 5.轻型牵引挂车C6
     */
    private Integer carType;
    /**
     * 科目;1.科目一 4.科目四
     */
    private Integer subject;
    /**
     * 序号
     */
    private Integer sortNo;
}
